﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ETL.Domain.Models
{
    public class MDtTableData
    {
        public int Start { get; set; }

        public int Limit { get; set; }

        public int Total { get; set; }

        public System.Data.DataTable DataTable { get; set; }

        /// <summary>
        /// 主键列（主键列是不允许修改的)
        /// </summary>
        public List<string> PKCloumns { get; private set; }

        public MDtTableData(int start, int limit, int total, System.Data.DataTable dataTable)
        {
            this.Start = start;
            this.Limit = limit;
            this.Total = total;
            this.DataTable = dataTable;
            this.PKCloumns = new List<string>();
        }
    }
}
